<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .karry {
            /* 大框 */
            margin: 100px auto;
            width: 1070px;
            height: 622px;
            box-shadow: 0 0 5px;
            border: 1px solid red;

        }

        .left {
            width: 600px;
            height: 622px;
            float: left;
        }

        .left ul {
            transition: 0.2s linear;
            /*转换时间 */
        }

        .left ul li {

            width: 853px;
            height: 622px;


        }

        .left ul li img {
            width: 853px;
            height: 622px;
            box-sizing: border-box;
            /* 盒模型 */
            padding: 15px;
            border-radius: 20px;
            object-fit: cover;
        }

        .right {
            width: 200px;
            height: 100%;
            float: right;
            position: relative;
           
         }

        .right ol li {
            width: 193px;
            height: 125px;
            text-align: center;
            position: relative;
            float: right;

        }

        .right ol li img {
            width: 193px;
            height: 119px;
            border-radius: 6px;
            opacity: o.5;
            vertical-align: top;
            box-sizing: border-box;
            padding: 15px;
            object-fit: cover;
        }
    </style>
    </style>
</head>

<body>
    <div class="karry">
        <div class="left">
            <ul>
                <li><img src="img/karry1.jpg" alt="tu"></li>
                <li><img src="img/karry2.jpg" alt="tu"></li>
                <li><img src="img/karry3.jpg" alt="tu"></li>
                <li><img src="img/karry4.jpg" alt="tu"></li>
                <li><img src="img/karry5.jpg" alt="tu"></li>
                <li><img src="img/karry6.jpg" alt="tu"></li>
                <li><img src="img/karry7.jpg" alt="tu"></li>
                <li><img src="img/karry8.jpg" alt="tu"></li>
            </ul>
        </div>
        <div class="right">
            <ol>
                <li><img src="img/karry1.jpg" alt=""></li>
                <li><img src="img/karry2.jpg" alt=""></li>
                <li><img src="img/karry3.jpg" alt=""></li>
                <li><img src="img/karry4.jpg" alt=""></li>
                <li><img src="img/karry5.jpg" alt=""></li>
                <li><img src="img/karry6.jpg" alt=""></li>
                <li><img src="img/karry7.jpg" alt=""></li>
                <li><img src="img/karry8.jpg" alt=""></li>
            </ol>
        </div>
    </div>
    <script>
         var lis = document.querySelector('ul').querySelectorAll('li'); // querySelector 查询选择器 
        var ul = document.querySelector('ul');
        var ollis = document.querySelector('ol').querySelectorAll('li');
        var ol = document.querySelector('ol');
        var p = document.querySelector('p');
     
    </script>
</body>

</html>